﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
namespace SDService.Model
{
    [Table(name: "APP")]
    public class App
    {
        public int Id { get; set; }// int NOT NULL PRIMARY KEY identity(1,1),
        public string AppCode { get; set; }//  varchar(32)  NOT NULL,
        public string AppName { get; set; }//  nvarchar(128)  NOT NULL,
        public string AppCN { get; set; }// varchar(256)  DEFAULT NULL,
        public string SoftKey { get; set; }//  varchar(256)  DEFAULT NULL,
        public string JsonContent { get; set; }// nvarchar(2048)  DEFAULT NULL,
        public string DllName { get; set; }//  varchar(256)  DEFAULT NULL,
        public string ClassInfo { get; set; }//  varchar(256)  DEFAULT NULL,
        public string ImagePath { get; set; }//  varchar(256)  DEFAULT NULL,
        public int FunctionType { get; set; }//  int DEFAULT '2' ,
        public string Remarks { get; set; }//  varchar(256)  DEFAULT NULL,
        public string Parent { get; set; }// nvarchar(256) null , -- 父编码
        public bool IsReload { get; set; }// bit not null default 0, -- 加载时是否执行
        public int ItemStatus { get; set; }//int not null default 1, -- 权限状态 1启用2禁用3隐藏
        public string Tip { get; set; }// nvarchar(64) null ,  --  提示语 new FunctionTip { Text="" },
        public int HotKey { get; set; }// int not null default 0 --  快捷键    123,
        public bool  IsIndex { get; set; }//bit not null default 0
    }


}
